package com.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 公海表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_customer_pool")
@ApiModel(value = "CrmCustomerPool对象", description = "公海表")
public class CrmCustomerPool implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公海id")
    @TableId(value = "pool_id", type = IdType.AUTO)
    private Integer poolId;

    @ApiModelProperty("公海名称")
    @TableField("pool_name")
    private String poolName;

    @ApiModelProperty("管理员 “,”分割")
    @TableField("admin_user_id")
    private String adminUserId;

    @ApiModelProperty("公海规则员工成员 “,”分割")
    @TableField("member_user_id")
    private String memberUserId;

    @ApiModelProperty("公海规则部门成员 “,”分割")
    @TableField("member_dept_id")
    private String memberDeptId;

    @ApiModelProperty("状态 0 停用 1启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("前负责人领取规则 0不限制 1限制")
    @TableField("pre_owner_setting")
    private Integer preOwnerSetting;

    @ApiModelProperty("前负责人领取规则限制天数")
    @TableField("pre_owner_setting_day")
    private Integer preOwnerSettingDay;

    @ApiModelProperty("是否限制领取频率 0不限制 1限制")
    @TableField("receive_setting")
    private Integer receiveSetting;

    @ApiModelProperty("领取频率规则")
    @TableField("receive_num")
    private Integer receiveNum;

    @ApiModelProperty("是否设置提前提醒 0不开启 1开启")
    @TableField("remind_setting")
    private Integer remindSetting;

    @ApiModelProperty("提醒规则天数")
    @TableField("remind_day")
    private Integer remindDay;

    @ApiModelProperty("收回规则 0不自动收回 1自动收回")
    @TableField("put_in_rule")
    private Integer putInRule;

    @TableField("create_user_id")
    private Long createUserId;

    @TableField("create_time")
    private LocalDateTime createTime;


}
